/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: BusCollectActivity
 * Author: Clark
 * Date: 2020/10/10 21:01
 * Description:
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
package sz.szsmk.citizencard.ui.activity;

import android.os.Build;
import android.view.View;

import androidx.annotation.RequiresApi;

import com.chenenyu.router.annotation.Route;

import sz.szsmk.citizencard.DaggerApplication;
import sz.szsmk.citizencard.R;
import sz.szsmk.citizencard.databinding.DiscountCouponGetBinding;
import sz.szsmk.citizencard.ioc.Compontent.DaggerCommonActivityComponent;
import sz.szsmk.citizencard.model.network.bean.response.QueryNearStandbyRes;
import sz.szsmk.citizencard.mvp.contract.ICouponGetContact;
import sz.szsmk.citizencard.mvp.presenter.CouponGetPresenter;
import sz.szsmk.citizencard.ui.base.IBaseActivity;
//import sz.szsmk.citizencard.ui.newversion.fragment.CardListCertificatesFragment;
//import sz.szsmk.citizencard.ui.newversion.fragment.CardListCouponFragment;
//import sz.szsmk.citizencard.ui.newversion.fragment.CardListTicketFragment;


/**
 * @ClassName: CouponGetListActivity
 * @Description:领取优惠券
 * @Author: Clark
 * @Date: 2020/10/12
 */
@RequiresApi(api = Build.VERSION_CODES.M)
@Route("couponGetListActivity")
public
class CouponGetListActivity extends IBaseActivity<CouponGetPresenter, DiscountCouponGetBinding>
        implements ICouponGetContact.ICouponGetView, View.OnClickListener {


    @Override
    protected int attachLayoutRes() {
        return R.layout.discount_coupon_get;
    }

    @Override
    protected void initInjector() {
        DaggerCommonActivityComponent.builder().appCompontent(DaggerApplication.getAppComponent())
                .build().inject(this);
    }

    @Override
    protected void initViews() {

        dataBinding.backLayout.settingTitle.setText("领取优惠券");
        dataBinding.backLayout.back.setOnClickListener(this);





    }

    @Override
    protected void updateViews() {

    }



    @Override
    public void onClick(View v) {
        if (v.getId() == R.id.back) {
            finish();
        }
    }

    @Override
    public void getDataListSucc(QueryNearStandbyRes response) {

    }

    @Override
    public void getDataListFail() {

    }
}